package org.zjx.common.service;

import org.zjx.common.bean.Item;
import org.zjx.common.entity.Address;
import org.zjx.common.entity.Quest;

public interface ActionResultService {
    //领取任务
    boolean receiveQuest(String playerId, Quest quest);
    //提交任务
    boolean submitQuest(String playerId, Quest quest);
    //移动
    boolean move(String playerId, Address address);
    //使用道具
    boolean useItem(String playerId,int barSort, int index);
    //购物
    boolean buyItem(String playerId,Item item,int number,String attribute);
    //切换背包
    boolean handoffBar(String playerId);
}
